
package com.aula.alex;

import java.util.Scanner;

/**
 *
 * @author Alex
 */
public class ExemploWhile 
{

   
    public static void main(String[] args) 
    {
        int cont = 1;
        int nu = 0;
        Scanner leitor = new Scanner(System.in);
        System.out.print("Informe o numero: ");
        nu = leitor.nextInt();
        
        while (cont < nu)
        {
            System.out.println(cont);
            System.out.println("+");
            cont++;
        }
    }
}
